home *** CD-ROM | disk | FTP | other *** search
- struct picStorage {
- long buttonHilite;
- PicHandle buttonNormal;
- PicHandle buttonPressed;
- PicHandle buttonInactUp;
- PicHandle buttonInactDown;
- };
-
- struct FMStuff {
- short numFonts;
- short fontDisplayed;
- short fontSize;
- Style fontStyle;
- Rect itemRects[7];
- ControlHandle ctlHandles[7];
- ListHandle fontList;
- };
-
- typedef struct FMStuff FMStuff;
-
- #define iPlainButton 0
- #define iBoldButton 1
- #define iItalicButton 2
- #define iUnderlineButton 3
- #define iOutlineButton 4
- #define iShadowButton 5
- #define iSizePopUp 6
-
- #define iButtonRect 0
- #define iTextRect1 1
- #define iTextRect2 2
- #define iLineRect 3
- #define iListRect 4
- #define iMenuNameRect 5
- #define iSampleRect 6
-
- #define infoLimitReached 1
-
- void LoadFontInfo(FMStuff *FMStore);
- void CreateFontList(void);
- void DisposeFontList(void);
- void UpdateFontList(WindowPtr theWin);
- void DrawBorder(Rect borderRect);
- void SetDisplayFont(Point selectedCell, struct FMStuff *FMStore);
- void HandleListSelect(EventRecord *event);
- void InitFontListVars(struct FMStuff *FMStore);
- void FindPlaceInList(Point *testCell, Str255 resName, struct FMStuff *FMStore);
-
-